package cn.stylefeng.guns.dao.entity;

import java.math.BigDecimal;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author quspacedraon
 * @since 2024-05-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sell_doc")
@ApiModel(value = "SellDoc对象", description = "")
public class SellDoc extends BusinessBaseEntity {

    private static final long serialVersionUID = 1L;

    private Long time;

    @ApiModelProperty(value = "发生地点编码")
    private String stoCode;

    @ApiModelProperty(value = "商品编码")
    private String goodsCode;

    private BigDecimal 应收金额;

    private BigDecimal 实收金额;

    private BigDecimal 加点后成本额;

    private BigDecimal 毛利额;

    private BigDecimal 毛利率;

    private BigDecimal 品单价;

    private Integer 客品次;

    private Integer 客品数;

    private BigDecimal 现金;

    private BigDecimal 现金折扣金额;

    private BigDecimal 聚合收;

    private BigDecimal 聚合收折扣金额;

    private BigDecimal 银联;

    private BigDecimal 银联折扣金额;

    private BigDecimal 医保;

    private BigDecimal 医保折扣金额;

    private BigDecimal 美团;

    private BigDecimal 美团折扣金额;

    private BigDecimal 饿了么;

    private BigDecimal 饿了么折扣金额;

    private BigDecimal 储值卡;

    private BigDecimal 储值卡折扣金额;

    private BigDecimal 现金券;

    private BigDecimal 现金券折扣金额;

    private BigDecimal 消费券;

    private BigDecimal 消费券折扣金额;

    private BigDecimal 抵用券;

    private BigDecimal 抵用券折扣金额;

    private BigDecimal 电子折扣券;

    private BigDecimal 电子折扣券折扣金额;

    private BigDecimal 积分抵现额;

    private BigDecimal 积分抵现额折扣金额;

    private BigDecimal 赊账;

    private BigDecimal 赊账折扣金额;

    private BigDecimal 好乐多;

    private BigDecimal 好乐多折扣金额;
    @TableField("健E卡")
    private BigDecimal 健E卡;
    @TableField("健E卡折扣金额")
    private BigDecimal 健E卡折扣金额;
    @TableField("美团b2c")
    private BigDecimal 美团b2c;
    @TableField("美团b2c折扣金额")
    private BigDecimal 美团b2c折扣金额;

    private BigDecimal 普康宝;

    private BigDecimal 普康宝折扣金额;

    private BigDecimal 拼多多;

    private BigDecimal 拼多多折扣金额;

    private BigDecimal 浙里金消;

    private BigDecimal 浙里金消折扣金额;

    private BigDecimal 天猫;

    private BigDecimal 天猫折扣金额;

    private BigDecimal 淘宝;

    private BigDecimal 淘宝折扣金额;
    @TableField("京东b2c")
    private BigDecimal 京东b2c;
    @TableField("京东b2c折扣金额")
    private BigDecimal 京东b2c折扣金额;

    private BigDecimal 药房网;

    private BigDecimal 药房网折扣金额;
    @TableField("OMS线上支付")
    private BigDecimal OMS线上支付;
    @TableField("OMS线上支付折扣金额")
    private BigDecimal OMS线上支付折扣金额;

    private BigDecimal 对公打款;

    private BigDecimal 对公打款折扣金额;

    private BigDecimal 微商城;

    private BigDecimal 微商城折扣金额;

    private BigDecimal 购物卡;

    private BigDecimal 购物卡折扣金额;

    @ApiModelProperty(value = "数据主体")
    private String data;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "删除标记：Y-已删除，N-未删除")
    @TableField(value = "del_flag", fill = FieldFill.INSERT)
    @ChineseDescription("删除标记（Y-已删除，N-未删除）")
    @TableLogic(value = "N", delval = "Y")
    private String delFlag;
}
